/*****************************************************************************
 * hello.c
 *****************************************************************************/
 
#include <stdio.h>
#include <builtins.h>
#include <sysreg.h>
#include <defts101.h>

int data[5000] = {
	#include "hello.ldr"
};

int main( void )
{

#ifdef __ADSPTS101__
	printf("hello world");
    __builtin_sysreg_write(__SQCTLST,SQCTL_FLAG0_EN);
	__builtin_sysreg_write(__SQCTLST, SQCTL_FLAG0_OUT);
	    __builtin_sysreg_write(__SQCTLST,SQCTL_FLAG1_EN);
	__builtin_sysreg_write(__SQCTLST, SQCTL_FLAG1_OUT);
#endif
	return 0;
}
